package com.information.manage.basic.audit.constant;

public enum AuditTemplateStatusEnum {

    STOP( 0, "停用审核模板"),
    APPLY(1, "应用审核模板");

    private Integer value;
    private String description;

    public Integer getValue(){return value;}

    AuditTemplateStatusEnum(Integer value, String description){
        this.value = value;
        this.description = description;
    }

    public static boolean contains(String action) {
        for (AuditTemplateStatusEnum auditTemplateStatusEnum : AuditTemplateStatusEnum.values()) {
            if (auditTemplateStatusEnum.name().equalsIgnoreCase(action)) {
                return true;
            }
        }
        return false;
    }
}
